package routers

import (
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/context/param"
)

func init() {

	beego.GlobalControllerRouter["bee-api/controllers:AppController"] = append(beego.GlobalControllerRouter["bee-api/controllers:AppController"],
		beego.ControllerComments{
			Method: "Post",
			Router: `/`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["bee-api/controllers:AppController"] = append(beego.GlobalControllerRouter["bee-api/controllers:AppController"],
		beego.ControllerComments{
			Method: "GetAll",
			Router: `/`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["bee-api/controllers:AppController"] = append(beego.GlobalControllerRouter["bee-api/controllers:AppController"],
		beego.ControllerComments{
			Method: "GetOne",
			Router: `/:id`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["bee-api/controllers:AppController"] = append(beego.GlobalControllerRouter["bee-api/controllers:AppController"],
		beego.ControllerComments{
			Method: "Put",
			Router: `/:id`,
			AllowHTTPMethods: []string{"put"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["bee-api/controllers:AppController"] = append(beego.GlobalControllerRouter["bee-api/controllers:AppController"],
		beego.ControllerComments{
			Method: "Delete",
			Router: `/:id`,
			AllowHTTPMethods: []string{"delete"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["bee-api/controllers:JuheController"] = append(beego.GlobalControllerRouter["bee-api/controllers:JuheController"],
		beego.ControllerComments{
			Method: "GetWifiInfoByCity",
			Router: `/GetWifiInfoByCity`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["bee-api/controllers:JuheController"] = append(beego.GlobalControllerRouter["bee-api/controllers:JuheController"],
		beego.ControllerComments{
			Method: "GetWifiInfoByLatLng",
			Router: `/GetWifiInfoByLatLng`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["bee-api/controllers:MapController"] = append(beego.GlobalControllerRouter["bee-api/controllers:MapController"],
		beego.ControllerComments{
			Method: "GetAddressByLngLat",
			Router: `/GetAddressByLngLat`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["bee-api/controllers:MapController"] = append(beego.GlobalControllerRouter["bee-api/controllers:MapController"],
		beego.ControllerComments{
			Method: "GetCityByIP",
			Router: `/GetCityByIP`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["bee-api/controllers:MapController"] = append(beego.GlobalControllerRouter["bee-api/controllers:MapController"],
		beego.ControllerComments{
			Method: "GetCoordinate",
			Router: `/GetCoordinate`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["bee-api/controllers:MapController"] = append(beego.GlobalControllerRouter["bee-api/controllers:MapController"],
		beego.ControllerComments{
			Method: "GetLatLngByAddres",
			Router: `/GetLatLngByAddres`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

}
